package com.smartstate.IOC.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>设备类型</p>
 * <p>@Author 陈永杰</p>
 * <p>@Date: 2022/8/24</p>
 * <p>@Time: 16:42</p>
 * <p>@version 1.0 <p>
 */
@Data
@TableName("equipment_type")
public class EquipmentType {

    /**
     * 报警主键ID
     */
    @TableId(type = IdType.INPUT)
    @TableField(value = "id",fill = FieldFill.INSERT)
    private String id;

    /**
     * 设备类型
     */
    @TableField(value = "type")
    @ApiModelProperty(value = "设备类型")
    private String type;

    /**
     * 设备类型名称
     */
    @TableField(value = "name")
    @ApiModelProperty(value = "设备类型名称")
    private String name;

}